In the following sample, if the year specified in the DateofBirth field is greater than the current year, the submit action will cancel. The script is added to the Form Actions -> on add -> on validate block to validate a new record and in the Form Actions -> on edit -> validate block to validate an existing record which is submitted after editing.
if (input.DateOfBirth.getYear() > zoho.currentdate.getYear())
{
alert "Enter valid Date of Birth";
cancel submit;
}
Zoho Creator is a treasure trove of functionalities waiting to be explored. Whether you're looking to optimize your workflows, create custom applications, or master intricate features, our collection of Zoho Creator posts has you covered. Each article delves deep into specific topics, offering insights, tips, and hacks that are invaluable to both novices and seasoned users. Don't miss out on unlocking the full potential of this powerful platform. Dive into our curated content and elevate your Zoho Creator expertise today!
What does Zoho Creator do?
Is Zoho Creator worth it?
How much does Zoho Creator cost?
Is Zoho owned by Google?
What are the benefits of Zoho Creator?
- Custom application creation without coding
- Automation of work processes and streamlined workflow
- Reduced time and resources required for application development
- Flexibility and scalability to meet changing business needs
- Integration with other Zoho and third-party applications